package com.may.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.may.demo.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

/**
 * @program: demo
 * @description:
 * @author: Bobby.Ma
 * @create: 2020-11-14 13:45
 **/
public interface OrderMapper extends BaseMapper<Order> {

    Order getOne(Integer id);

    Integer saveOne(Order order);

    Integer deleteOne(Integer id);

    Integer updateOne(Integer id, Order order);
}
